package com.ruixun.constants;

import lombok.Data;
import lombok.Getter;

/**
 * @author yueyi2019
 */


public enum BusinessInterfaceStatus {
    /**
     * 操作成功
     */
    SUCCESS(0, "success"),

    /**
     * 操作失败
     */
    FAIL(1, "fail");


    public Integer getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }

    private final Integer code;
    private final String value;

    BusinessInterfaceStatus(int code, String value) {
        this.code = code;
        this.value = value;
    }
}
